<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<title><?php echo $pageTitle?></title>
	<link rel="shortcut icon" type="image/x-icon" href="<?php echo base_url();?>sknimg/img/isee.ico" />
	<link href="<?php echo base_url();?>sknimg/css/userarea.css" rel="stylesheet" type="text/css" />
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<script type='text/javascript' src="<?php echo base_url();?>sknimg/js/<?php echo $js1?>"></script>
	<script type='text/javascript' src="<?php echo base_url();?>sknimg/js/<?php echo $js2?>"></script>
    <script type='text/javascript' src="<?php echo base_url();?>sknimg/js/<?php echo $js3?>"></script>
    <script type='text/javascript' src="<?php echo base_url();?>sknimg/js/jquery-ui-1.8.1.custom.min.js"></script>
</head>
<body>

		<div id="wraper">
			<?php require_once('include/headeruser.php');?>
			<div class="skin">
				<div id="content">
				<div class="namauser"></a><a href="<?php echo base_url()?>profile/info"><?php echo $nama?></a> <a href="<?php echo base_url()?>settings/info">Setting</a></div>
					<div class="leftdas">
					
					<div class="leftdas2">
						<ul>
							<li><a href="<?php echo base_url()?>settings/info">Info</a></li>
							<li><a href="<?php echo base_url()?>settings/avatar" class='onpage' >Avatar</a></li>
							<li><a href="<?php echo base_url()?>settings/contact">Contact</a></li>
							<li><a href="<?php echo base_url()?>settings/password">Password</a></li>
						</ul>
					</div>
					</div>
					<div class="rightset">		
						<div id='content'>
						<?php if(!$noError):?>
						<div id=error>
							<?php echo $errorMsg?>
						</div>
						<?php endif;?>
							<form action='<?php echo base_url()?>settings/avatar' method='post' enctype="multipart/form-data">
								<table width="400">
									<tr>
										<td>
											Avatar
										</td>
										<td>:</td>
										<td>
											<img width='40px' height='40px' src="<?php echo base_url()?>sknimg/i-see-attr/avatarThumb/<?php echo $avatar?>">
										</td>
									</tr>
									<tr>
										<td>
											File Avatar   
										</td>
										<td>:</td>
										<td>
											<input type='file' name='avatar' value=""></input><br/>
										</td>
									</tr>
									<tr>
										<td></td>
										<td></td>
										<td>
											minimal resolution 200px X 200px
										</td>
									</tr>
								</table>
								<table>
									<tr>
										<td>
										</td>
										<td>
											<input type='submit' name='submitAvatar' value='Simpan'></input>
										</td>
										<td>
											<input type='submit' name='deleteAvatar' value='Hapus'></